isEqual:
is part of the NSObject protocol and is meant for comparing objects.
isEqualTo:
is part of the Cocoa AppleScript support infrastructure (specifically, NSComparisonMethods, which allow AppleScript to compare Cocoa objects). It’s normally the same as isEqual:
, but can be overridden if you want equality to work differently internally and in a script.