It's not having slightly higher average intelligence that makes you a nazi, but rather thinking that this makes your race "the best"- or that actually there can be something like "the best race".