Spin waves (magnons) can allow neuromorphic computing by which one goals at overcoming limitations inherent to traditional electronics and the von Neumann structure. Encoding magnon sign by reversing magnetization of a nanomagnetic reminiscence bit is pivotal to appreciate such novel computing schemes effectively. A magnonic neural community was not too long ago proposed consisting of otherwise configured nanomagnets that management nonlinear magnon interference in an underlying yttrium iron garnet (YIG) movie [Papp et al., Nature communications, 2021, 12, 6422]. On this research, we discover the nonvolatile encoding of magnon indicators by switching the magnetization of periodic and aperiodic arrays (gratings) of Ni81Fe19 (Py) nanostripes with widths w between 50 nm and 200 nm. Integrating 50-nm-wide nanostripes with a coplanar waveguide, we excited magnons having a wavelength λ of ≈100 nm. At a small spin-precessional energy of 11 nW, these ultrashort magnons swap the magnetization of 50-nm-wide Py nanostripes after they’ve propagated over 25 μm in YIG. We additionally reveal the magnetization reversal of nanostripes patterned in an aperiodic sequence. We thereby present that the magnon-induced reversal occurs whatever the width and periodicity of the nanostripe gratings. Our research enlarges considerably the parameter regime for magnon-induced nanomagnet reversal on YIG and is essential for realizing in-memory computing paradigms making use of magnons with ultrashort wavelengths at low energy consumption.