Driver disable a variable

So I got two variables in a driver. And the first variable is a custom property with a value of 0 to 1. And I want that if the value of the first variable is 1, it will run this expression. Unfortunately, I didn’t really know much about drivers. So I hope someone can help me with this.