You can not. System.Booleanis a structure, and you cannot get a structure.
Now, why do you want to do this, for sure? What is the big goal?
You can enable the implicit conversion operator from your class to bool, but I personally wouldnβt. I almost always prefer to exhibit property, so you should write:
if (myValue.MyProperty)
... , . , .