You are given a binary array nums (an array that contains only 0s and 1s). Your task is to find the maximum number of consecutive 1s in the array and return it.
You are given a binary array nums (an array that contains only 0s and 1s). Your task is to find the maximum number of consecutive 1s in the array and return it.