The code is quite clear:
18 U.S. Code § 2381 - Treason
"Whoever, owing allegiance to the United States, levies war against them or adheres to their enemies, giving them aid and comfort within the United States or elsewhere, is guilty of treason and shall suffer death, or shall be imprisoned not less than five years and fined under this title but not less than $10,000; and shall be incapable of holding any office under the United States."
Releasing 5 Taliban commanders for a traitor is 5 acts of treason right there. Protecting the traitor Bowe Bergdahl is 6. Assisting foreign invaders is 7. Arming, assisting and defending Al-Qaeda in the killing 4 Americans is 4 more acts of treason for a total of 11 thus my tagline..........