I looked at some other posts on how to set a formula node output as an array, and am unsure why it is not an array. Here is the text in my node: ("out", "in1", and "in2" are all supposed to be 2D arrays; i is an int)
int32 out [50][50];
if (i==0)
out = in1;
else
out = in2;