The latching of temporary data is essential in the rapid single flux quantum (RSFQ) electronics family. Its pulse-driven nature requires two or more stable states in almost all cells. Storage loops must be designed to have exactly two stable states for binary data representation. In conventional RSFQ such loops are constructed to have two stable states, e.g. by using asymmetric bias currents. This bistability naturally occurs when phase-shifting elements are included in the circuitry, such as pi-Josephson junctions or a pi-phase shift associated with an unconventional (d-wave) order parameter symmetry. Both approaches can be treated completely analogously, giving the same results. We have demonstrated for the first time the correct operation of a logic circuit, a toggle-flip-flop, using rings with an intrinsic pi-phase shift (pi-rings) based on hybrid high-Tc to low-Tc Josephson junctions. Because of their natural bistability these pi-rings improve the device symmetry, enhance operation margins and alleviate the need for bias current lines.