This should work:
a = torch.tensor([[[[160, 56, 20],
                    [54, 6, 97],
                    [65, 119, 56]],
                 
                   [[185, 13, 90],
                    [10, 6, 220],
                    [67, 88, 4]],

                   [[210, 92, 74],
                    [48, 217, 86],
                    [42, 12, 24]]]]).float()

idx = (a[:, 2] > a[:, 0]) & (a[:, 2] > a[:, 1]) & (a[:, 2] > 100.)
result = idx.float()
print(result)
> tensor([[[1., 0., 0.],
           [0., 1., 0.],
           [0., 0., 0.]]])