MATLAB: How to i check if matrix cotaining logical 1

matrix

I got B and i want to check if B cotains at least one '1' display super
if all zeros display not good
How do i do it
A = [1 0 0];
B = logical(A)
if B == 1;
disp('super')
else
disp('not good')
end

Best Answer

A = [1 0 0];
B = logical(A) ;
if any(B);
disp('super')
else
disp('not good')
end