States legalizing marijuana are simply removing separate state criminal prohibitions on marijuana and deciding not to spend resources helping the Feds enforce their prohibition.
It is still illegal under federal law, though the current administration is presently not prioritizing enforcement of federal law regarding marijuana when the offense is within the scope permitted under state law.
It is still illegal under federal law, though the current administration is presently not prioritizing enforcement of federal law regarding marijuana when the offense is within the scope permitted under state law.