If you are talking about two straight things, and you want to know whether or not they are aligned in the same direction, i.e. whether or not they are parallel, one thing you can do is to use the BI command defined in BISECTOR.lsp, >here<, and pick on the two objects. It will draw an XLINE BIsecting the angle between them if they are not parallel, and if they are parallel, it will draw it halfway between them and parallel to both, and it will tell you they're parallel and that it's doing that. So that can be your "report" that they are aligned in the same direction. It works on top-level and nested objects, so for example, if you want to check whether a Block is aligned with a Polyline line segment, if there's a piece of the Block that runs in the direction you want to check, you can pick on that nested object and on the relevant segment of the Polyline.
[Of course the parts of the command that determine whether things are parallel could be pulled out into a simpler command that would report on that, without drawing the XLINE.]
If that's not what you mean by the "aligned or not" question, explain in more detail. [For example, not just aligned in direction, but also coinciding as you could make them do with an ALIGN command?]
Kent Cooper, AIA