As I said, I believe Ames or Hanssen was, but the subject was given a pass because of his credentials.
Hanssen never took a polygraph; Ames took many and passed them all. If there's even a single spy who was caught because of the polygraph, neither the US nor any other government using them has said so.