The constitution grants the federal government enumerated powers. Since it's not an enumerated power, it's reserved to the states and is therefore unconstitutional.
It falls under the the foreign affairs and national security powers, the Commerce Clause, and the Taxing Clause (plus the Necessary and Proper Clause in support).