The capacity of a physical system to transport and localize energy or information is usually linked to its spatial configuration. This is relevant for integration and transmission of signals as performed, for example, by the dendrites of neuronal cells. Inspired by recent works on the organization of spines on the surface of dendrites and how they promote localization or propagation of electrical impulses in neurons, here we propose a linear photonic lattice configuration to study how the geometric features of a dendrite-inspired lattice allows for the localization or propagation of light on a completely linear structure. We show that by increasing the compression of the photonic analogue of spines and thus, by increasing the coupling strength of the spines with the main chain (the “photonic dendrite”), flat band modes become prevalent in the system, allowing spatial localization in the linear – low energy – regime. Furthermore, we study the inclusion of disorder in the distribution of spines and show that the main features of ordered systems persist due to the robustness of the flat band states. Finally, we discuss if the photonic analog, having evanescent interactions, may provide insight into linear morphological mechanisms at work occurring in some biological systems, where interactions are of electric and biochemical origin.