One-dimensional bound states in the continuum in the w~k space for nonlinear optical applications