The expression IndexOf is really handy, but only works for X axis searches.
It means that arrays not built a certain way can't use the IndexOf/LastIndexOf expressions.
Ideally there's a YIndexOf expression that makes the same search on the Y(0) axis, allowing for more flexibility in array design.