I suggest you consult the US Constitution for the exact definition of “Treason”.
Unfortunately, the Constitution does not define "enemies" or "waging war".