Here's how to search and compare arrays.