Then you go to jail (penalty is 6 months for impersonating a person and voting on their behalf.) It's not like polling locations don't have cameras.
(A few people voting more than once is unlikely to change the results of an election. If enough fraud is detected to impact the results, they'll run a new election.)