Pythonimi ilisarnaatiga: 

Nuummi binary array nums, takornariaqarpoq kingornaasap erinarsortartut 1-ini array-mi.
Qimminersorneq pythoni missilersorneq, taaneqarsinnaavoq, qivioq kingorna 1-it takorneq: 

```
def find_max_consecutive_ones(nums):
    max_count = 0
    curr_count = 0
    for num in nums:
        if num == 1:
            curr_count += 1
            max_count = max(max_count, curr_count)
        else:
            curr_count = 0
    return max_count
```

Ilisarnersorneq qimmeq, qivioq kinguleqanngitsut takorniat: 

```
binary_array = [1, 1, 0, 1, 1, 1]
max_consecutive_ones = find_max_consecutive_ones(binary_array)
tulisartut max_consecutive_ones  # Tukkia: 3
```