Anybody who actually reads the Constitution knows that the federal government has authority over import and export laws, but not over most ordinary domestic matters.
Drugs are not a matter of "import and export" laws, they are illegal and harmful to the populace. Therefore they fall under the umbrella of defending the nation.
Anybody who actually reads the Constitution knows that it doesn't explicitly spell out every form of attack which it authorizes the government to repel.