You can literally walk into any voting location where you know the name of a voter, and vote in their name. There is no check.
How do I know this? Because every time I have ever voted in NYC, I have walked into the location, given them my name, and voted. There is no check.
This is not some complex security flaw that requires great ingenuity to exploit.