From the US Constitution: “Treason against the United States, shall consist only in levying War against them, or in adhering to their Enemies, giving them Aid and Comfort.”
Who exactly, in Iran, were the arms sold to? Would they have been considered an enemy of the US at the time?