IIRC without reading my pocket Constitution, the individual States DO have the right to their ballot and electoral process. So it's a mixed bag.
But immigration is exclusively a federal matter, as stated in that Nevada case, and California is deliberately defying the federal government and laws to shelter illegal invaders. On electoral and ballots, you’re correct, since the presidential election is really the local election of electors in each state to the electoral college.