Assuming Train_y is a Variable, then locs is already a ByteTensor. The following should just work.
locs = Train_y == 0
Train_negx = Train_x[~locs]

or in one line
Train_negx = Train_x[~(Train_y == 0)]