Like Vorph said, do a linear search since binary is for sorted lists. The groups you are validating are so small, however, that you could use any method of searching (however inefficient) and not really see a difference in performance.
If this is for a class though, you'll want to use best practices of course
