[sim, out] = ld_ArrayInt32(sim, events, array, in)
Lookup a value inside an array - block
in * - input
out * - output
out = array[in]