In this paper, we analyze the Sturm–Liouville problem with one classical first type boundary condition and the other Samarskii–Bitsadze type nonlocal boundary condition. We investigate how the spectrum of this problem depends on the parameters γ and ξ of the nonlocal boundary condition. Some new results are given as graphs of the characteristic function.