Based on (10087±44)×106 J/ψ events collected with the BESIII detector, a partial wave analysis of the decay J/ψ→γK0SK0Sη′ is performed. The mass and width of the X(2370) are measured to be 2395±11(stat)+26−94(syst) MeV/c2 and 188+18−17(stat)+124−33(syst) MeV, respectively. The corresponding product branching fraction is B[J/ψ→γX(2370)]×B[X(2370)→f0(980)η′]×B[f0(980)→K0SK0S]=(1.31±0.22(stat)+2.85−0.84(syst))×10−5. The statistical significance of the X(2370) is greater than 11.7σ and the spin-parity is determined to be 0−+ for the first time. The measured mass and spin-parity of the X(2370) are consistent with the predictions of a pseudoscalar glueball candidate.