Racism is by definition a belief. Someone is racist if they believe in such a belief.
Actions are actually irrelevant to this definition.
Similarly a fascist is someone that believes in the fascism ideology. That's just how these words work.
Similarly a fascist is someone that believes in the fascism ideology. That's just how these words work.