RAW DATA
So far, nobody, including you, can come up with a sensible reason why pilots are searched.
As far as I can ascertain, airside whould be sterile as far as possible. Aircrew, like armed police need to be searched for one extremely good reason.
Imagine a scenario where Aircrew are not searched. Is it not conceivable that they might just be the delivery vehicle to get the weapon (or whatever, even drugs.. but I'm not going down that path) airside? And then taken over by another accomplice?
Fait Accompli as the frogs say.