How to use boolean data in DecisionTreeClassifier in sklearn? I am trying to build a decision tree using python and sklearn DecisionTreeClassifier.

One of the data_type used for splitting the tree  is Boolean(let it be x).However the tree that is generated contains comparisons like x&lt;=0.5 . 
This does not make sense.

Can anybody suggest how to use boolean values in Decision trees.
Why would this not make sense? It tries to create a split with maximal separation between signal and background. Any float >0 and &lt; 1 will result in the same split.