Not in the Constitution? Not legal.
A constitution defines and limits the powers of the government it creates. It therefore follows, as a natural and also a logical result, that the governmental exercise of any power not authorized by the constitution is an assumed power, and therefore illegal.