It's actions, not motivation, that makes one a traitor.
Treason against the United States shall consist only in levying War against them, or in adhering to their Enemies, giving them Aid and Comfort. No Person shall be convicted of Treason unless on the Testimony of two Witnesses to the same overt Act, or on Confession in open Court.
Art. III Sec. 3, Constitution for the United States
“It’s actions, not motivation”
A criminal intent is essential to the commission of any crime. Killing someone is blameless if you think you are acting in self defense. Wallace was deluded into thinking he was acting in the best interests of the US, hence he had no criminal intent.