Given a binary array nums, find the maximum number of consecutive 1s in the array.
nums
1 1 0 [1 1 1] -> max = 3
Given a binary array `nums`, find the **maximum number of consecutive 1s** in the array.