Checks for symmetrical array.