I'm only referring to speech. Taking actual action, observed by at least two people, against the United States within or without of the country, is treason in time of war.
Simply remarking you like the other side is not.
Treason can involve giving information to the enemy.......sort of like Bill Clinton did, right?