treason (noun): The betrayal of allegiance toward one's own country, especially by committing hostile acts against it or aiding its enemies in committing such acts.
You can't commit treason against a country if you aren't a citizen of that country by definition.