For example, if an equalizer model experiences a delay due to its processing, the equalizer may misinterpret the boundaries between the equalized symbols it outputs and, therefore, return meaningless results.

How to align the output data by finding the right delay?
Here a example of a simple equalizer implemented in matlab:
clc; clear all; N = 1e3; MQAM = 2;
d = randi([0 1],N,1);
x = qammod(d,MQAM,'gray','InputType','bit');
h = [0.1 0.5, 0.1 0.2];
r = awgn(complex(filter(h, 1, x), zeros(size(x))), 10, 'measured');
eq = comm.DecisionFeedbackEqualizer;
eq.Constellation = qammod(0:1, 2);
eq.StepSize = maxstep(eq,r);
eq.ReferenceTap = 2;
[y,e,w] = eq(r, x);
dec = qamdemod(y,MQAM,'gray','OutputType','bit');
errors = sum( dec~= d)
How to have dec and d align, in order word what is the delay ?