Actually its not unconstitutional
Tenth Amendment
The powers not delegated to the United States by the Constitution, nor prohibited by it to the States, are reserved to the States respectively, or to the people.
Privileges and Immunities Clause/Equal Protection Clause; States are not allowed to be totalitarians at will.