The "-" operator only applies to numeric values, not arrays.
You can loop and calculate the result for each index.
Init Expression: RunState.LoopIndex = 0
Increment Expr: RunState.LoopIndex += 1
Loop While Expr: RunState.LoopIndex < 8
Step Expression: Locals.z[RunState.LoopIndex] = Locals.x[RunState.LoopIndex] - Locals.y[RunState.LoopIndex]
This approach is fine for simple operations on relatively small arrays, but for large arrays or more complex operations, place this functionality in a language module (C, LabVIEW, etc.) that is better suited for performing mathematical operations.