After decades of efforts, some fundamental physics for electrical switching of magnetization is still missing. Here, we report the discovery of the long-range intralayer Dzyaloshinskii-Moriya interaction (DMI) effect, which is the chiral coupling of orthogonal magnetic domains within the same magnetic layer via the mediation of an adjacent heavy metal layer. The effective magnetic field of the long-range intralayer DMI on the perpendicular magnetization is out-of-plane and varies with the interfacial DMI constant, the applied in-plane magnetic fields, and the magnetic anisotropy distribution. Striking consequences of the effect include asymmetric current/field switching of perpendicular magnetization, hysteresis loop shift of perpendicular magnetization in the absence of in-plane direct current, and sharp in-plane magnetic field switching of perpendicular magnetization. Utilizing the intralayer DMI, we demonstrate programable, complete Boolean logic operations within a single spin-orbit torque device. These results will stimulate investigation of the long-range intralayer DMI effect in a variety of spintronic devices.