I think it is wrong , traitors come in all shade and hue , when they are spying for the enemy they emanate particular behavioral traits , facial cues and micro expressions , trained counter intelligence operators are trained to read this cues , this is where they are caught.
A disgruntled employ is very dangerous , more dangerous than ideological ones , look what Chelsea manning and Edward snowden did to US they are far more dangerous than any ideological spies
Counter intelligence people look towards every one with suspicion they don't see religion. Look what an arsehole " Hindu " independent contractor did in Indian missile testing facility in Odisha spying for Pakis . He is far more dangerous than any so called Muslim traitor.