Implemented isEql for array