Erm no he wasn't actually. His views whilst controversial echoed those of the NOI and Elijah Muhammad. He didn't publicly deride the white race or encourage violence against them. This is often a common misconception by people who have never bothered to research Malcolm X, read his book or basically just so blinded by their own ignorance.
Usually it's the same people who admire Winston Churchill who was well documented to be a racist given his views on immigration, Indians, Kurds, Africans and Gandhi.
Malcolm X did encourage separation of the races not because he viewed one race as superior to the other. His opinion (at the time) was that if two races couldn't respect each other and live side by side as equals, it would be better to separate and have their institutions etc. His encouragement of using "By Any Means Necessary" didn't mean go out and relentlessly attack the White Race, he basically encouraged his followers to stand up for their rights if ever they were attacked, much like if you were attacked in the stree you'd want to defend yourself.
Malcolm X when he left the NOI did admit that some of the views he expressed could have been perceived as racist but that he himself did not subscribe to any of the policies of racism and publicly apologised for any offence caused. It was for this reason he went onto form the OAAU and subsequently was assassinated by members of the NOI as he was seen as a traitor.
So basically some of his views may have been perceived as racist but that was when he was influenced by the NOI and if any of you bothered to research Malcolm X you'll now he pro-actively sought to change that upon leaving the NOI. But I'm guessing you never read the book or seen the movie by Spike Lee right?
Also you can't call Malcolm X a racist and salute Churchill as a hero. As a Brit it pains me to say this but Churchill an obnoxious, racist pig. By most standards, Churchill wouldn't have been fit to lick Malcolm X's ***