If an illegal is allowed to obtain a driver's license in the state in which he resides, and he registers to vote under the motor voter law, and the state issues him a votor ID, then he is illegally registered to vote.
Unfortunately , this happens many times and is a fundamental flaw in the motor voter law.