OR conditions in find [solved]

I want to add OR condition in this paginate array.

$conditions = array();
$conditions[‘Years.id’] = 2;
$this->paginate = [
‘contain’ => [‘Courses’, ‘Streams’, ‘Years’, ‘Subjects’],
‘conditions’ => [$condition]
];