You do not use the variable i inside your for loop, so you are testing the entire energy variable of the table every time through the loop.
is a vector test, and will only be true if all of the entries in T1.energy are < 0 .
You probably just want,
T1(T1.energy < 0, :) = ;
with no loop -- just the single statement.