1 : the betrayal of a trust : treachery
2 : the offense of attempting by overt acts to overthrow the government of the state to which the offender owes allegiance or to kill or personally injure the sovereign or the sovereign's family
But that definition seems a little narrow. Consider, selling secrets or controlled technology to a hostile foreign power. (like say, the Clintons and China?) Or revealing militarily important information that would put US forces' lives at higher risk (like say, MSM during any war or military action in the past 3 decades).
These kinds of things, intentionally doing the Country harm, should be considered treasonous.
the offense of attempting by overt acts to overthrow the government of the state to which the offender owes allegiance or to kill or personally injure the sovereign or the sovereign's family