Never declared. No legal basis. Blame LBJ and the cowards in Congress.
The Constitutional language on treason says nothing about war. Blame Jefferson and Madison.