We investigate a class of the nonlinear Schrodinger equation in R-N -Delta u+V(x)u=|u|(2)& lowast;-2u+lambda|u|(p-2)u, where N >= 3, lambda>0 and p is an element of (2,2 & lowast;) with 2 & lowast;=2N/N-2. Here, V(x)=V-1(x) for x(1)>0 and V(x)=V-2(x) for x(1)<0, where V-1,V-2 are periodic in each coordinate direction. By providing a splitting Lemma corresponding to non-periodic external potential, we obtain the existence of ground state solution for the above problem. It is worth to mention that the arguments used in this paper are also valid for the Sobolev subcritical problem studied by Dohnal et al. (Commun Math Phys 308:511-542, 2011)