I think they said the said can't make laws for federal elections only State. ID requirements would help a lot.
Sorry about the copy and paste but I think this pretty much covers what you are talking about.
In 1996, the U.S. Congress passed a law prohibiting noncitizens from voting in federal elections, including elections for the U.S. House, U.S. Senate, and presidential elections. This law does not apply to elections for state and local offices. Click here to learn more about recent legal challenges involving noncitizen voting[3]
HIGHLIGHTS
As of June 2024, no state constitutions explicitly allowed noncitizens to vote in state or local elections.
Seven states explicitly prohibited noncitizen voting in state and local elections.
The District of Columbia and municipalities in three states allowed noncitizens to vote in local elections.
Six states approved ballot measures related to citizenship requirements for voting. Five states will have similar ballot measures in the 2024 elections.