The paper proposed a model of a locally resonant (LR) piezoelectric/elastic phononic crystal (PC) nanobeam with periodically attached “spring-mass” resonator and additional spring between upper and lower nanobeams, as well as horizontal spring between mass and foundation. Euler beam theory and nonlocal piezoelectricity theory are coupled and introduced to plane wave expansion (PWE) method to calculate the band structures of such a model with different parameters. Numerical results and further analysis demonstrate that all the bands of double-layer nanobeam can be divided into symmetric and antisymmetric ones. Adding additional and horizontal springs play a role in control the symmetric and antisymmetric bands respectively, which make wider band gaps be opened than corresponding single-layer nanobeam. Moreover, the change of parameters of electro-mechanical coupling fields and resonator can be applied to effectively control the starting frequencies and widths of band gaps, which can provide a theoretical basis for active control of vibration. Effects of geometric and non-dimensional nonlocal parameters on band gaps are also discussed. All the studies are expected to be applied to actively control vibration propagation in the field of nano electro-mechanical system (NEMS).