Making the spells short range would also make them interact with the target. Maybe it's a trap, but they still have to be close enough to trigger it to find out.
I went looking to see what detection spells we have in RMU. Detect Illusion is 1st level for Illusionists, 100' range, scans one single 5'R or 1 object (checking one object/area per round is 12th level), but only tells you yes/no. At 11th level, they can negate one illusion for themself only, so they can see through it (also 100' range, for 1 rnd/lvl). Both spells also show up on the closed Mentalism list Sense Mastery, at 4th and 12th level respectively. Monks get those spells at 10th and 12th level, but also Illusionsight at 18th (illusions become invisible to the caster).
That's interesting that those spells are actually pretty limited in terms of who can access them. Of course an item gets around that. It's also interesting that the low level spell only checks one single thing. Give your PCs an item that casts that a limited number of times per day and they have to think carefully when to use it. You can't generally scan a room, or everyone in a group.