Elections and voting

Q: With regards to voting and elections, I would like to ask the following question:

Country X is a non-islamic state with a minority number of muslims that is run by a political party, we can call this political party Y for example,
which allows full freedom to Muslims to practice their religion freely and without any restrictions. Political party Z is an upcoming political party
which is run by Yahoodis and is gaining great dominance in the state. It is well known with regards to the Yahoodis that they are not to be trusted due to their cunning nature and persecution of Muslims around the world, and if they take control of the state, the possibility exists that muslims will now become restricted in practicing Islam. Bearing this in mind, will it be permissible for Muslims to vote in the elections for the party that proves to be a greater benefit for the muslims, or do we just ignore the entire elections and do not involve ourselves in such issues?