It is not permissible to elect to city councils etc those who mock the Islamic religion
Question

                Is it permissible for a Muslim to elect to city councils or any other kind of council someone who believes in communism or mocks religion or embraces nationalism and regards it as a religion?.
Praise be to Allah.It is not permissible 
      for a Muslim to elect to city councils or any other kind of council 
      someone who is known to be a communist or to mock the Islamic religion or 
      to believe in nationalism and regard it as a religion, because by electing 
      him he is accepting him as his representative and helping him to be in a 
      position where he could spread evil or cause corruption, and help those 
      who agree with him and his beliefs. That position may enable him to harm 
      those who differ from him and deprive them of their rights or some of 
      them. It is also a way of encouraging him to persist in his false beliefs 
      and implement them as much as he wants.