In reply to Ksharp.

Thanks for writing. It sounds like you are suggesting ANY for group membership, but I don't see how it can be used for identifying the elements.
For example, the following program finds the students who are 10, 11, or 12:

proc iml;
use Sashelp.Class;
read all var {"Name" "Age"};
close;

/* assign Status based on the Age variable */
target = {10, 11, 12};
InSet = element(Age, target);
print Name InSet;