The new mesons X(3940) and X(4160) have been found by Belle Collaboration in the processes e+e−→J/ψD(∗)Dˉ(∗). Considering X(3940) and X(4160) as ηc(3S) and ηc(4S) states, the two-body open charm OZI-allowed strong decay of ηc(3S) and ηc(4S) are studied by the improved Bethe-Salpeter method combine with the 3P0 model. The strong decay width of ηc(3S) is Γηc(3S)=(33.5−15.3+18.4) MeV, which is closed to the result of X(3940), therefore, ηc(3S) is a good candidate of X(3940). The strong decay width of ηc(4S) is Γηc(4S)=(69.9−21.1+22.4) MeV, considering the errors of the results, it's closed to the lower limit of X(4160). But the ratio of the decay width Γ(D∗Dˉ∗)Γ(DDˉ∗) of ηc(4S) is larger than the experimental data of X(4160). According to the above analysis, ηc(4S) is not the candidate of X(4160), and more investigations of X(4160) is needed.