I suggest that you rename this discussion to
p5.js should define Array …
You can see that some responders are thinking you mean Processing Java mode.
Multi-dimensional arrays are not native to Javascript or Java so syntax like
is not possible because it would mean rewriting the Javascipt or Java language.