Hi.
You can check with Array (List) Contains.
But you would have to check each one.
a solution could be, using tags and a Game Object Tag Switch.
or if the objects have a fsm you could add a 'Type' variable and get that variable to See which array you should check.