Is the arduino uno compatible with 4D arrays?

is it my fault? or is the arduino not compatible with 4D-arrays?

An Arduino could handle a 12D array, if it were small enough. It is likely that the issue you are having is that you 4D array consumes more memory than you have.