The logic error is in thinking that a single abusive prison guard necessarily means that all prison guards are inherently bad. That's the same collectivist thinking as a racist.
Correct. It also doesn't mean I'm wrong. That's why it's fallacious. Eintstein saying THAT nationalism is bad says nothing about WHY it's bad. His views on socialism say a lot more.