Yes, she thought she killing American soldiers, but she happened to be talking to an FBI agent.
However, she was working with real Iraqi intelligence agents for years before that.
Who knows what really happened there...
Anyway you look at it, she is guilty of treason.
Guilty indeed. And may she be adequately persuaded to reveal any other traitors she happens to know.