Edit : He can try to game the ratings system by looking for high-rated opponents who he knows will not play as well as their ratings suggest for some reason (like illness or personal issues). But he doesn't seem the sort to enjoy this
It will also not affect your FIDE rating if the tournament is not organised to the required standard (which is basically nonexistent for under-1800 rated players, and going all the way to the required presence of International Arbiters, metal detectors and blood tests for top level play)
What are they looking for? Communicators and ... Adderall? Xanzolam?
Probably not Xanzolam, because there's no way it'd enhance your performance, but yeah, you get the idea.
what else do they check for? caffeine is probably helpful and not banned. LSD (microdosing)? Galantamine? If there are nootropics that can legitimately enhance high level chess play why aren't we using them on our top scientists and engineers?
Tl;dr: They use the world anti-doping agency list.