Q.Name my plant
I have 2 outdoor potted plants that have long spike /sword like leaves with a trunk sort of resembling a small palm tree. They stand about 3′ tall out of their pots and one has burgundy leaves while the other has green/yellowish striped leaves. I feel they are not very happy this year but must identify them.v can you help?

You could have a Cordyline. There are varieties with spiky leaves, including burgundy. Check whether the picture matches:
https://www.rhs.org.uk/advice/profile?PID=543
Or a Dracaena:
http://pss.uvm.edu/pss123/foldfm.html
Also check this site:
http://miami-dade.ifas.ufl.edu/fyn-publications/palms-cyadsA-E.shtml