An illogical comparison happens when a sentence compares two things that aren't of the same type, for example comparing people with objects, which is the case on this question.
The options from A,B, and C, compare things from the same type, in A the comparison is between jobs, in B the comparison is between jobs as well, and in C the comparison is between people.
The only illogical comparison is comparing people with jobs, as done in option D.
So, the answer to this question is:
D. My sister has had more summer jobs than anyone in our family.