Time complexity in deletion from heap

I was told im the video that time complexity for deleting any data from heap will be logn but
we also need to find that element to be deleted in the array and that will take o(n) ??