Array find first value utility