$cat= Category::find()->where(['or',['parrent_category'=>0],['parrent_category'=>null]])->all();
var_dump($cat)
SELECT * FROM `category` WHERE (`parrent_category`=0) OR (`parrent_category` IS NULL)
$cat= Category::find()->where(['or', 'parrent_category=0' ,'parrent_category is null'])->all();