For each XYZ
System compare two values array.curvalue=1
You can then get the coordinates with the Array.curX, array.curY, and array.curZ expressions. Save them to a variable, or push the coordinates into another array if you expect to have multiple locations that have the value 1.
You would have to go through every point of the multidimensional array every time you wanted to detect that one value, that would take a ton of processing power and would most likely halt your game if your array is substantially big, How do you generate those one values OP? Isn't there any way to keep them in a one-dimensional array as multidimensional tokens? For example: "4/2/5"