You can put all the nicknames in a text file line by line, one nickname per line. Then use:
if ($read(slap.txt,w,$nick)) {
;do something
To match certain nicknames stored in the slap.txt for example.
Using isin operator is not a good choice because it can result false positives.