Spin waves (magnons) can enable wave-based neuromorphic computing by which one aims at overcoming limitations inherent to conventional electronics and the von Neumann architecture. In this study, we explore the storage of magnon signals and the magnetization switching of periodic and aperiodic arrays of Ni81Fe19 (Py) nanostripes with widths (w) between 50 nm and 200 nm. Spin waves excited with low microwave power in yttrium iron garnet induce the reversal of the nanostripes of different w in a small opposing field. Exploiting microwave-to-magnon transducers for magnon modes with ultrashort wavelengths, we demonstrate the reversal of 50-nm-wide Py nanostripes by magnons with wavelength ~ 100 nm after they have propagated over 25 micrometer in YIG. The findings are important for designing a magnon-based in-memory computing device.