This law ought to be found unconstitutional in the Federal courts, as a usurpation of the power of Congress to establish a uniform rule of naturalization.
Also the state is not affording citizens the equal protection of the law.
The Constitution gives states control of election rules. It is a federal matter when national candidates are on the ballot.