All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad is His slave and Messenger. We ask Allaah to exalt his mention as well as that of his family and all his companions.
It is not permissible for a Muslim to vote to a party whose ideology is not based on the basis of the religion of Allaah, because by voting to such party, one helps in sin and transgression and it reflects being pleased with something which contradicts the methodology of the Quran, and being loyal to the disbelievers, unjust people and transgressors.
On the contrary, a Muslim should be loyal to Allaah and His Prophet and to the believers. So, he should select (vote to) a Muslim who is known to be strong (in his personality and achieving the good for which he was elected) and trustworthy and religious, and who is expected to achieve a benefit for Islam and for the Muslims.
Allaah Knows best.