If you vote illegally you should lose any chance at citizenship. It should be automatic.
I'd add that if you're a citizen and knowingly vote illegally you lose your Constitutional rights to be a US citizen either permanently or for an extended period.