There is no built-in support for 2-d arrays. You could write a Matrix class.
The simplest interface would probably be:
constructor Matrix new(int width, int height);
method void dispose();
method void set(int x, int y, int value);
method int get(int x, int y);
Implementation would use an Array of Arrays to hold the values.