def METHOD_NAME(test_case):
    device = random_device()
    shape = random_tensor().oneflow.shape
    x1 = random_tensor(len(shape), *shape, requires_grad=False).to(device)
    x2 = random_tensor(len(shape), *shape, requires_grad=False).to(device)
    y = torch.logical_and(x1, x2)
    return y