Unfortunately it's an array, so you'll have to iterate. If you wanted to, you could convert it to a hash.
You could use 'grep' as well to get a one liner. It won't be such a large array in any event that there is any real dramatic speed increase between a hash and an array.