There are all kinds of people believing in Islam. It is a religion/ideology. It is NOT a race. So you jumped to a wrong conclusion.
To try and win an election specifically by rallying people against a domestic populous as their enemy is an awful hitler-esque thing to do. Isn't that literally the same recipe?