We consider the Sturm–Liouville differential equations with a power of the independent variable and sums of periodic functions as coefficients (including the case when the periodic coefficients do not have any common period). Using known results, one can show that the studied equations are conditionally oscillatory, i.e., there exists a threshold value which can be expressed by the coefficients and which separates oscillatory equations from non-oscillatory ones. It is very complicated to specify the behaviour of the treated equations in the borderline case. In this paper, applying the method of the modified Prufer angle, we answer this question and we prove that the considered equations are non-oscillatory in the critical borderline case.