I strongly disagree. Voting should never be illegal or have legal repercussions. Ever. Not only is it protected speech under the first amendment, it's more importantly a critical part of our democratic system.
There should be stiff consequences for running for an office you know you are disqualified from, but casting a vote should never be illegal for legal voters.