PurposeIn this paper, using Monte Carlo simulations (MCSs) under the metropolis algorithm, the authors study the magnetic properties of the yttrium-based Heusler alloys: Y2CrGa and YFeCrGa. In the first step, the authors elaborate and discuss the ground-state phase diagrams of the more stable configurations. It is worth to note that the full-Heusler alloy Y2CrGa contains only one magnetic atom (Cr), while the quaternary Heusler alloy YFeCrGa has two magnetic atoms (Cr and Fe). This leads to modeling of the compound Y2CrGa by a Hamiltonian containing only one magnetic spin moment (S = 2), while the quaternary Heusler alloy YFeCrGa is modeled by a Hamiltonian containing two magnetic spin moments (Q = 5/2 and s = 2). The results of the study reveal that the critical temperature increases when increasing the reduced crystal field for the two studied compounds. To complete this study, the authors elaborated the hysteresis cycles of the two yttrium-based Heusler alloys: Y2CrGa and YFeCrGa.Design/methodology/approachIn this paper, the authors study the magnetic properties and the critical behavior of the yttrium-based Heusler alloys, Y2CrGa and YFeCrGa, using MCSs under the metropolis algorithm. In the first step, the authors elaborate and discuss the ground-state phase diagrams of the more stable configurations for the both structures at null temperature (T = 0). On the other hand, for non-null temperature (T ≠ 0), the authors investigate the critical behavior of these two yttrium-based Heusler alloys: Y2CrGa and YFeCrGa. It is worth to note that the full-Heusler alloy Y2CrGa contains only one magnetic atom (Cr), while the quaternary Heusler alloy YFeCrGa has two magnetic atoms (Cr and Fe). Hence, the compound Y2CrGa can be modeled by a Hamiltonian containing only one magnetic spin moment (S = 2), while the quaternary Heusler alloy YFeCrGa is modeled by a Hamiltonian containing two magnetic spin moments (Q = 5/2 and s = 2). Moreover, the results of the study reveal that the critical temperature increases when increasing the reduced crystal field for the two studied compounds. To complete this study, the authors elaborated the hysteresis cycles of the two yttrium-based Heusler alloys: Y2CrGa and YFeCrGa.FindingsThe authors elaborate the ground-state phase diagrams of the more stable configurations. It is worth to note that the full-Heusler alloy Y2CrGa contains only one magnetic atom (Cr), while the quaternary Heusler alloy YFeCrGa has two magnetic atoms (Cr and Fe). This leads to modeling of the compound Y2CrGa by a Hamiltonian containing only one magnetic spin moment (S = 2), while the quaternary Heusler alloy YFeCrGa is modeled by a Hamiltonian containing two magnetic spin moments (Q = 5/2 and s = 2). The results of the study reveal that the critical temperature increases when increasing the reduced crystal field for the two studied compounds. To complete this study, the authors elaborated the hysteresis cycles of the two yttrium-based Heusler alloys: Y2CrGa and YFeCrGa.Research limitations/implicationsThe authors elaborate the ground-state phase diagrams of the more stable configurations. It is worth to note that the full-Heusler alloy Y2CrGa contains only one magnetic atom (Cr), while the quaternary Heusler alloy YFeCrGa has two magnetic atoms (Cr and Fe). This leads to modeling of the compound Y2CrGa by a Hamiltonian containing only one magnetic spin moment (S = 2), while the quaternary Heusler alloy YFeCrGa is modeled by a Hamiltonian containing two magnetic spin moments (Q = 5/2 and s = 2). The results of the study reveal that the critical temperature increases when increasing the reduced crystal field for the two studied compounds. To complete this study, the authors elaborated the hysteresis cycles of the two yttrium-based Heusler alloys: Y2CrGa and YFeCrGa.Practical implicationsThe authors elaborate the ground-state phase diagrams of the more stable configurations. It is worth to note that the full-Heusler alloy Y2CrGa contains only one magnetic atom (Cr), while the quaternary Heusler alloy YFeCrGa has two magnetic atoms (Cr and Fe). This leads to modeling of the compound Y2CrGa by a Hamiltonian containing only one magnetic spin moment (S = 2), while the quaternary Heusler alloy YFeCrGa is modeled by a Hamiltonian containing two magnetic spin moments (Q = 5/2 and s = 2). The results of the study reveal that the critical temperature increases when increasing the reduced crystal field for the two studied compounds. To complete this study, the authors elaborated the hysteresis cycles of the two yttrium-based Heusler alloys: Y2CrGa and YFeCrGa.Social implicationsThe authors elaborate the ground-state phase diagrams of the more stable configurations. It is worth to note that the full-Heusler alloy Y2CrGa contains only one magnetic atom (Cr), while the quaternary Heusler alloy YFeCrGa has two magnetic atoms (Cr and Fe). This leads to modeling of the compound Y2CrGa by a Hamiltonian containing only one magnetic spin moment (S = 2), while the quaternary Heusler alloy YFeCrGa is modeled by a Hamiltonian containing two magnetic spin moments (Q = 5/2 and s = 2). The results of the study reveal that the critical temperature increases when increasing the reduced crystal field for the two studied compounds. To complete this study, the authors elaborated the hysteresis cycles of the two yttrium-based Heusler alloys: Y2CrGa and YFeCrGa.Originality/valueThe authors elaborate the ground-state phase diagrams of the more stable configurations. It is worth to note that the full-Heusler alloy Y2CrGa contains only one magnetic atom (Cr), while the quaternary Heusler alloy YFeCrGa has two magnetic atoms (Cr and Fe). This leads to modeling of the compound Y2CrGa by a Hamiltonian containing only one magnetic spin moment (S = 2), while the quaternary Heusler alloy YFeCrGa is modeled by a Hamiltonian containing two magnetic spin moments (Q = 5/2 and s = 2). The results of the study reveal that the critical temperature increases when increasing the reduced crystal field for the two studied compounds. To complete this study, the authors elaborated the hysteresis cycles of the two yttrium-based Heusler alloys: Y2CrGa and YFeCrGa.