Local variable 'check' = 0
Iterate the array with 'For each element'.
Compare two values ... find(Array.CurValue,"sword") not = - 1
If that condition is true then the expressions Array.CurX, Array.CurY and Array.CurZ contain the position in the array.
And CurValue contains the string
Optional you can stop the iteration with the action stop loop at this point
If you want to know all occurrences, then you need an array to hold the positions.