Raise ArgumentError if the value is not an Array.