When you register to vote you generally ID. at the polls you just give your name and address. generally everyone in the room lives in the area. I certainly know who are my neighbors. you can of course lie about who you are, and you might even be able to cast that vote; if someone doesn’t call you on it. but if that person shows up shit is going to hit the fan.
go work an election as a poll worker.