As near as I can tell the president is breaking no laws. At least in the context of declaring a national emergency.
His use of it as an end run around congress to embezzle money for a pet project is unprecedented though. Not illegal...just unprecedented.
Good coffee, good weed, and time on my hands...