I find the new wording confusing. I assume you mean the x and y arrays must have the same number of dimensions, or put another way, they must have the same dimensionality.