We present a theoretical investigation of the Goos-Hanchen effect, i.e., the lateral shift of the light beam transmitted through one-dimensional biperiodic multilayered photonic systems consisting of equidistantmagnetic layers separated by finite size dielectric photonic crystals. We show that the increase of the number of periods in the photonic-magnonic structure leads to increase of the Goos-Hanchen shift in the vicinity of the frequencies of defect modes located inside the photonic band gaps. Presence of the linear magnetoelectric coupling in the magnetic layers can result in a vanishing of the positive maxima of the cross-polarized contribution to the Goos-Hanchen shift.